public class Sanjiao {
	int a;
	int b;
	int c;

	public boolean checkValid() {
		boolean is = false;
		if (a + b > c && a + c > b && b + c > a) {
			is = true;
		}
		return is;
	}

	public double getArea() {
		int e = (a + b + c) / 2;
		double area = Math.sqrt(e * (e - a) * (e - b) * (e - c));
		return area;
	}

}
